package com.marvels.product.param.service;

import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.marvels.common.exception.MarvelsBusinessException;
import com.marvels.product.param.dto.McptRateDTO;

public interface McptRateService {
	
	int deleteByPrimaryKey(Long rateId) throws MarvelsBusinessException;

    int insert(McptRateDTO record) throws MarvelsBusinessException;

    McptRateDTO selectByPrimaryKey(Long rateId) throws MarvelsBusinessException;

    int updateByPrimaryKey(McptRateDTO record) throws MarvelsBusinessException;
    
    public PageInfo<McptRateDTO> getPageInfoByParam(Map<String, Object> param) throws MarvelsBusinessException;

	int updateStatus(McptRateDTO dto) throws MarvelsBusinessException;
}
